import request from "../util/request";

// 检查音乐能不能播放
export function check_music(id) {
  return request({
    url: "/check/music",
    params: {
      id,
    },
  });
}

// 获取歌曲详情
export function get_song_detail(ids) {
  return request({
    url: "/song/detail",
    params: {
      ids,
    },
  });
}

// 获取歌词
export function get_lyric(id) {
  return request({
    url: "/lyric",
    params: {
      id,
    },
  });
}
